package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialCompleteRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialCompletePo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialCompleteDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialCompleteDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialCompleteDomainImpl extends BaseDomainImpl<ContractInitialCompleteDto, ContractInitialCompletePo> implements ContractInitialCompleteDomain {

    @Resource
    private ContractInitialCompleteRepository contractInitialCompleteRepository;

    @Override
    public BaseRepository<ContractInitialCompletePo> getMapper() {
        return contractInitialCompleteRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialCompletePo>> getRepositoryClass() {
        return ContractInitialCompleteRepository.class;
    }

}
